#找出2019的整倍数 整倍数满足 每一位数都是奇数
def check(num):
    #判断num的每一位是否是奇数，如果是就返回true，否则返回false
    numstr = str(num)
    lenth = len(numstr)
    for item in numstr:
        if int(item) % 2 == 0:
            return False
    return True

num = 2019
while(True):
    if(check(num)):
        break
    else:
        num += 2019

print(num)

